﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage/Principal.Master" CodeBehind="EletronicosCAD.aspx.vb" Inherits="E_Lixo.EletronicosCAD" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div align="center">
        <asp:Panel ID="Panel" runat="server" Width="90%" CssClass="stiloPanel">
            Cadastro de Eletrônicos:<br />&nbsp;<br /><asp:Label ID="LCodigo" 
                runat="server" Text="Código"></asp:Label>
            <br />
            <asp:TextBox ID="TCodigo" runat="server" Enabled="False" ReadOnly="True" 
                Width="71px"></asp:TextBox>
            <br />
            <br />
            <asp:Label ID="LDescricao" runat="server" 
                Text="Descrição &lt;font color='#FF0000'&gt;*&lt;/font&gt;"></asp:Label>
            <br />
            <asp:TextBox ID="TDescricao" runat="server" MaxLength="150" Width="430px"></asp:TextBox>
            <br />
            <br />
            <asp:Label ID="lcategoria" runat="server" Text="Categoria"></asp:Label>
            <br />
            <asp:DropDownList ID="ddlcategoria" runat="server" AutoPostBack="True">
            </asp:DropDownList>
            <asp:ImageButton ID="ImageButton1" runat="server" 
                ImageUrl="~/Imagens/refresh.png" />
            <br />
            <br />
            <asp:Label ID="LSubCategoria" runat="server" Text="SubCategoria"></asp:Label>
            <br />
            <asp:DropDownList ID="DDLSubCategoria" runat="server">
            </asp:DropDownList>
            &nbsp;<br />
            <br />
            <asp:Label ID="LMarca" runat="server" Text="Marca"></asp:Label>
            <br />
            <asp:DropDownList ID="DDLMarca" runat="server">
            </asp:DropDownList>
            <asp:ImageButton ID="ImageButton2" runat="server" 
                ImageUrl="~/Imagens/refresh.png" />
            <br />
            <br />
            <asp:Label ID="lpeso" runat="server" Text="Peso"></asp:Label>
            &nbsp;<asp:Label ID="Label1" runat="server" Enabled="False" ForeColor="#CCCCCC" 
                Text="   Ex: 0,00"></asp:Label>
            <br />
            <asp:TextBox ID="tpeso" runat="server" MaxLength="6">0,00</asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="tpeso" ErrorMessage="Insira apenas número." ForeColor="Red" 
                ValidationExpression="^\$?[+-]?[\d,]*\.?\d{0,2}$"></asp:RegularExpressionValidator>
            <br />
            <div align="center">
                <asp:Label ID="LMSG" runat="server" Text="Erro" Visible="False"></asp:Label>
                <br />
                <asp:Button ID="BGravar" runat="server" Text="Gravar" />
            </div>
        </asp:Panel>
    </div>
</asp:Content>
